package com.jerry.huihome.module.find.entity;

import java.util.List;

/**
 * Created by Administrator on 2016/5/13.
 */
public class ForemanDynamic {


    /**
     * respCode : 00
     * respMsg : OK
     * body : {"dynaItems":[{"id":3107,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"漆工过来扫尾工作。","occurTime":1463106272000,"appraiseCount":4,"commentCount":1,"phase":"完工","projid":775,"projname":"白橡印象","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[{"listImg":"http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160513/1372_12ef8d9c-5166-4aa0-b529-09b000825745.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_12ef8d9c-5166-4aa0-b529-09b000825745.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160513/1372_eb34a8a4-a882-4d46-881d-26bdfa517b05.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_eb34a8a4-a882-4d46-881d-26bdfa517b05.jpg","mediaType":0}],"appraises":[{"uid":1003,"username":"盛才均","roleid":2},{"uid":1606,"username":"伍中","roleid":6},{"uid":1646,"username":"朱璐","roleid":4},{"uid":1480,"username":"颜文智","roleid":4}],"comments":[{"id":2596,"fromUid":1606,"fromUsername":"伍中","fromAvatar":null,"toUid":0,"toUsername":null,"msgtxt":"油漆细节位置多注意，餐厅墙面需要多加注意","occurTime":1463114588000,"occurTimeStr":null,"fromRoleid":6,"toRoleid":null,"commentImages":null}],"gifts":[]},{"id":3065,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"今天橱柜安装，预计周末或者下周安排人过去装灯具开关面板。","occurTime":1462928656000,"appraiseCount":0,"commentCount":0,"phase":"油漆","projid":574,"projname":"彩云飞","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[],"comments":[],"gifts":[]},{"id":3064,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"今天进保洁，木地板安装和木门遗留了很多垃圾。","occurTime":1462928589000,"appraiseCount":1,"commentCount":0,"phase":"完工","projid":775,"projname":"白橡印象","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[{"uid":1003,"username":"盛才均","roleid":2}],"comments":[],"gifts":[]},{"id":3007,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"工地目前处于停工状态。","occurTime":1462675057000,"appraiseCount":0,"commentCount":2,"phase":"油漆","projid":574,"projname":"彩云飞","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[],"comments":[{"id":2457,"fromUid":1026,"fromUsername":"申薇","fromAvatar":null,"toUid":null,"toUsername":null,"msgtxt":"上午去了工地，墙面有不平整，请尽快安排师傅处理","occurTime":1462675091000,"occurTimeStr":null,"fromRoleid":1,"toRoleid":null,"commentImages":null},{"id":2458,"fromUid":1372,"fromUsername":"邱杰","fromAvatar":null,"toUid":1026,"toUsername":"申薇","msgtxt":"我已和业主沟通过。","occurTime":1462675145000,"occurTimeStr":null,"fromRoleid":2,"toRoleid":1,"commentImages":null}],"gifts":[]},{"id":3006,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"木地板装好了，灯具开关昨天在装。后期等门安装之后油漆工过来收尾，中间不会有施工和动态更新。","occurTime":1462674970000,"appraiseCount":1,"commentCount":0,"phase":"泥工","projid":775,"projname":"白橡印象","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[{"uid":1003,"username":"盛才均","roleid":2}],"comments":[],"gifts":[]},{"id":2961,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"今天业主，师傅，设计师到现场确认了重新调的面漆颜色，但是大面积擦时业主想在场把握，因业主今天没有时间，所以暂时不施工，预计下周三施工。","occurTime":1462543056000,"appraiseCount":0,"commentCount":0,"phase":"油漆","projid":653,"projname":"竹林深处有人家","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[],"comments":[],"gifts":[]},{"id":2959,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"漆工基本停工，还有些活留到后期做。现在业主可以先把门窗装完，橱柜和洁具装完，购买开关面板及灯具通知我这边安装，后期再叫漆工过来收一下尾。","occurTime":1462542723000,"appraiseCount":0,"commentCount":0,"phase":"油漆","projid":574,"projname":"彩云飞","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[],"comments":[],"gifts":[]},{"id":2909,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"面漆重新拿回店里加漆调浅了，今天师傅过去脱漆做面。那天本已交代师傅等业主来再做样式，师傅先做了些是想做点实际样式给业主来定夺，小面积即使需要脱漆也不难。","occurTime":1462314667000,"appraiseCount":2,"commentCount":4,"phase":"油漆","projid":653,"projname":"竹林深处有人家","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[{"uid":1003,"username":"盛才均","roleid":2},{"uid":1698,"username":"lynn","roleid":0}],"comments":[{"id":2399,"fromUid":1027,"fromUsername":"鬼斧先生","fromAvatar":null,"toUid":null,"toUsername":null,"msgtxt":"做样漆时我过去一下，等彭老师确认后再大面积做","occurTime":1462321284000,"occurTimeStr":null,"fromRoleid":1,"toRoleid":null,"commentImages":null},{"id":2401,"fromUid":1372,"fromUsername":"邱杰","fromAvatar":null,"toUid":1027,"toUsername":"鬼斧先生","msgtxt":"好的，预计周六，彭老师这两天没空。","occurTime":1462335256000,"occurTimeStr":null,"fromRoleid":2,"toRoleid":1,"commentImages":null},{"id":2409,"fromUid":1508,"fromUsername":"王家新居","fromAvatar":null,"toUid":null,"toUsername":null,"msgtxt":"好的，我周五会过来。","occurTime":1462411791000,"occurTimeStr":null,"fromRoleid":0,"toRoleid":null,"commentImages":null},{"id":2415,"fromUid":1372,"fromUsername":"邱杰","fromAvatar":null,"toUid":1027,"toUsername":"鬼斧先生","msgtxt":"明天中午一点，师傅和我都会过去。","occurTime":1462422038000,"occurTimeStr":null,"fromRoleid":2,"toRoleid":1,"commentImages":null}],"gifts":[]},{"id":2908,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"墙漆基本完成，先进木地板，后搞水电安装，因为业主家具要进来了。","occurTime":1462273823000,"appraiseCount":2,"commentCount":0,"phase":"设计","projid":775,"projname":"白橡印象","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[],"appraises":[{"uid":1003,"username":"盛才均","roleid":2},{"uid":1051,"username":"王文","roleid":4}],"comments":[],"gifts":[]},{"id":2907,"uid":1372,"username":"邱杰","avatar":"http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg","roleid":2,"msgtxt":"油漆快完工了。","occurTime":1462273691000,"appraiseCount":4,"commentCount":0,"phase":"油漆","projid":574,"projname":"彩云飞","followStatus":1,"assessFlag":-1,"scoreProf":0,"scoreManner":0,"scoreActive":0,"dynaImages":[{"listImg":"http://huihome.cn:8888/upimg/160503/1372_82992975-e0e7-4c36-996e-a0566d2072ee.jpg","detailImg":"http://huihome.cn:8888/upimg/160503/1372_82992975-e0e7-4c36-996e-a0566d2072ee.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160503/1372_247c8627-9317-4095-b894-0b118741e67f.jpg","detailImg":"http://huihome.cn:8888/upimg/160503/1372_247c8627-9317-4095-b894-0b118741e67f.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160503/1372_a56991f7-9c23-4711-be5a-c02550ea4264.jpg","detailImg":"http://huihome.cn:8888/upimg/160503/1372_a56991f7-9c23-4711-be5a-c02550ea4264.jpg","mediaType":0}],"appraises":[{"uid":1051,"username":"王文","roleid":4},{"uid":1050,"username":"飞飞","roleid":4},{"uid":1003,"username":"盛才均","roleid":2},{"uid":1026,"username":"申薇","roleid":1}],"comments":[],"gifts":[]}]}
     */

    private String respCode;
    private String respMsg;
    private BodyBean body;

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespMsg() {
        return respMsg;
    }

    public void setRespMsg(String respMsg) {
        this.respMsg = respMsg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * id : 3107
         * uid : 1372
         * username : 邱杰
         * avatar : http://huihome.cn:8888/upimg/150716/1372_04d94ace-3ad8-48e5-873f-de3eb8e3c8b2.jpg
         * roleid : 2
         * msgtxt : 漆工过来扫尾工作。
         * occurTime : 1463106272000
         * appraiseCount : 4
         * commentCount : 1
         * phase : 完工
         * projid : 775
         * projname : 白橡印象
         * followStatus : 1
         * assessFlag : -1
         * scoreProf : 0
         * scoreManner : 0
         * scoreActive : 0
         * dynaImages : [{"listImg":"http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160513/1372_12ef8d9c-5166-4aa0-b529-09b000825745.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_12ef8d9c-5166-4aa0-b529-09b000825745.jpg","mediaType":0},{"listImg":"http://huihome.cn:8888/upimg/160513/1372_eb34a8a4-a882-4d46-881d-26bdfa517b05.jpg","detailImg":"http://huihome.cn:8888/upimg/160513/1372_eb34a8a4-a882-4d46-881d-26bdfa517b05.jpg","mediaType":0}]
         * appraises : [{"uid":1003,"username":"盛才均","roleid":2},{"uid":1606,"username":"伍中","roleid":6},{"uid":1646,"username":"朱璐","roleid":4},{"uid":1480,"username":"颜文智","roleid":4}]
         * comments : [{"id":2596,"fromUid":1606,"fromUsername":"伍中","fromAvatar":null,"toUid":0,"toUsername":null,"msgtxt":"油漆细节位置多注意，餐厅墙面需要多加注意","occurTime":1463114588000,"occurTimeStr":null,"fromRoleid":6,"toRoleid":null,"commentImages":null}]
         * gifts : []
         */

        private List<DynaItemsBean> dynaItems;

        public List<DynaItemsBean> getDynaItems() {
            return dynaItems;
        }

        public void setDynaItems(List<DynaItemsBean> dynaItems) {
            this.dynaItems = dynaItems;
        }

        public static class DynaItemsBean {
            private int id;
            private int uid;
            private String username;
            private String avatar;
            private int roleid;
            private String msgtxt;
            private long occurTime;
            private int appraiseCount;
            private int commentCount;
            private String phase;
            private int projid;
            private String projname;
            private int followStatus;
            private int assessFlag;
            private int scoreProf;
            private int scoreManner;
            private int scoreActive;
            /**
             * listImg : http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg
             * detailImg : http://huihome.cn:8888/upimg/160513/1372_8d55e2c7-5bae-43ff-843e-e81378353782.jpg
             * mediaType : 0
             */

            private List<DynaImagesBean> dynaImages;
            /**
             * uid : 1003
             * username : 盛才均
             * roleid : 2
             */

            private List<AppraisesBean> appraises;
            /**
             * id : 2596
             * fromUid : 1606
             * fromUsername : 伍中
             * fromAvatar : null
             * toUid : 0
             * toUsername : null
             * msgtxt : 油漆细节位置多注意，餐厅墙面需要多加注意
             * occurTime : 1463114588000
             * occurTimeStr : null
             * fromRoleid : 6
             * toRoleid : null
             * commentImages : null
             */

            private List<CommentsBean> comments;
            private List<?> gifts;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getRoleid() {
                return roleid;
            }

            public void setRoleid(int roleid) {
                this.roleid = roleid;
            }

            public String getMsgtxt() {
                return msgtxt;
            }

            public void setMsgtxt(String msgtxt) {
                this.msgtxt = msgtxt;
            }

            public long getOccurTime() {
                return occurTime;
            }

            public void setOccurTime(long occurTime) {
                this.occurTime = occurTime;
            }

            public int getAppraiseCount() {
                return appraiseCount;
            }

            public void setAppraiseCount(int appraiseCount) {
                this.appraiseCount = appraiseCount;
            }

            public int getCommentCount() {
                return commentCount;
            }

            public void setCommentCount(int commentCount) {
                this.commentCount = commentCount;
            }

            public String getPhase() {
                return phase;
            }

            public void setPhase(String phase) {
                this.phase = phase;
            }

            public int getProjid() {
                return projid;
            }

            public void setProjid(int projid) {
                this.projid = projid;
            }

            public String getProjname() {
                return projname;
            }

            public void setProjname(String projname) {
                this.projname = projname;
            }

            public int getFollowStatus() {
                return followStatus;
            }

            public void setFollowStatus(int followStatus) {
                this.followStatus = followStatus;
            }

            public int getAssessFlag() {
                return assessFlag;
            }

            public void setAssessFlag(int assessFlag) {
                this.assessFlag = assessFlag;
            }

            public int getScoreProf() {
                return scoreProf;
            }

            public void setScoreProf(int scoreProf) {
                this.scoreProf = scoreProf;
            }

            public int getScoreManner() {
                return scoreManner;
            }

            public void setScoreManner(int scoreManner) {
                this.scoreManner = scoreManner;
            }

            public int getScoreActive() {
                return scoreActive;
            }

            public void setScoreActive(int scoreActive) {
                this.scoreActive = scoreActive;
            }

            public List<DynaImagesBean> getDynaImages() {
                return dynaImages;
            }

            public void setDynaImages(List<DynaImagesBean> dynaImages) {
                this.dynaImages = dynaImages;
            }

            public List<AppraisesBean> getAppraises() {
                return appraises;
            }

            public void setAppraises(List<AppraisesBean> appraises) {
                this.appraises = appraises;
            }

            public List<CommentsBean> getComments() {
                return comments;
            }

            public void setComments(List<CommentsBean> comments) {
                this.comments = comments;
            }

            public List<?> getGifts() {
                return gifts;
            }

            public void setGifts(List<?> gifts) {
                this.gifts = gifts;
            }

            public static class DynaImagesBean {
                private String listImg;
                private String detailImg;
                private int mediaType;

                public String getListImg() {
                    return listImg;
                }

                public void setListImg(String listImg) {
                    this.listImg = listImg;
                }

                public String getDetailImg() {
                    return detailImg;
                }

                public void setDetailImg(String detailImg) {
                    this.detailImg = detailImg;
                }

                public int getMediaType() {
                    return mediaType;
                }

                public void setMediaType(int mediaType) {
                    this.mediaType = mediaType;
                }
            }

            public static class AppraisesBean {
                private int uid;
                private String username;
                private int roleid;

                public int getUid() {
                    return uid;
                }

                public void setUid(int uid) {
                    this.uid = uid;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public int getRoleid() {
                    return roleid;
                }

                public void setRoleid(int roleid) {
                    this.roleid = roleid;
                }
            }

            public static class CommentsBean {
                private int id;
                private int fromUid;
                private String fromUsername;
                private Object fromAvatar;
                private int toUid;
                private Object toUsername;
                private String msgtxt;
                private long occurTime;
                private Object occurTimeStr;
                private int fromRoleid;
                private Object toRoleid;
                private Object commentImages;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getFromUid() {
                    return fromUid;
                }

                public void setFromUid(int fromUid) {
                    this.fromUid = fromUid;
                }

                public String getFromUsername() {
                    return fromUsername;
                }

                public void setFromUsername(String fromUsername) {
                    this.fromUsername = fromUsername;
                }

                public Object getFromAvatar() {
                    return fromAvatar;
                }

                public void setFromAvatar(Object fromAvatar) {
                    this.fromAvatar = fromAvatar;
                }

                public int getToUid() {
                    return toUid;
                }

                public void setToUid(int toUid) {
                    this.toUid = toUid;
                }

                public Object getToUsername() {
                    return toUsername;
                }

                public void setToUsername(Object toUsername) {
                    this.toUsername = toUsername;
                }

                public String getMsgtxt() {
                    return msgtxt;
                }

                public void setMsgtxt(String msgtxt) {
                    this.msgtxt = msgtxt;
                }

                public long getOccurTime() {
                    return occurTime;
                }

                public void setOccurTime(long occurTime) {
                    this.occurTime = occurTime;
                }

                public Object getOccurTimeStr() {
                    return occurTimeStr;
                }

                public void setOccurTimeStr(Object occurTimeStr) {
                    this.occurTimeStr = occurTimeStr;
                }

                public int getFromRoleid() {
                    return fromRoleid;
                }

                public void setFromRoleid(int fromRoleid) {
                    this.fromRoleid = fromRoleid;
                }

                public Object getToRoleid() {
                    return toRoleid;
                }

                public void setToRoleid(Object toRoleid) {
                    this.toRoleid = toRoleid;
                }

                public Object getCommentImages() {
                    return commentImages;
                }

                public void setCommentImages(Object commentImages) {
                    this.commentImages = commentImages;
                }
            }
        }
    }
}
